package com.huadi.ssm.service;

import com.huadi.ssm.po.Organization;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface OrganizationService {

    public Organization findByName(String name);
    public int add(Organization organization);
    public int edit(Organization organization);
    public int delete(String ids);
    public List<Organization> findList(Map<String,Object> queryMap);
    public int getTotal(Map<String,Object> queryMap);
    public List<Organization> findAll();
}
